package com.sam.gui.activity;

import android.content.Intent;
import android.os.Bundle;
import android.webkit.JavascriptInterface;

import com.sam.gui.base.BaseWebActivity;
import com.sam.ui.base.activity.BaseActivity;

/**
 * Created by Administrator on 2015-10-27.
 */
public class CaseDetailWebActivity extends BaseWebActivity {

    @Override
    protected void initView() {
        super.initView();
        setContentUrl("index.php?c=user&a=user_bl_view&mr_id="+getIntent().getExtras().getString("mr_id"));
    }

    @JavascriptInterface
    public void wzjlxq(){
        Intent intent = new Intent(this, DiagnosisRecordWebActivity.class);
        startActivity(intent);
    }

    @JavascriptInterface
    public void set_password(){
        Intent intent = new Intent(this, ChangePwdWebActivity.class);
        startActivity(intent);
    }

    @JavascriptInterface
    public void submitSuccess(){
        finish();
    }
}
